package com.hqx.oop.duotai;

public class Student extends Person{
    private String school;

    @Override
    public void eat() {
        System.out.println("吃火锅");
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public void study() {
        System.out.println("学习");
    }
}
